/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/24 Time: 14:01
 */

import {StyleSheet} from 'react-native';
import {
  COLOR_GRAY_BACKGROUND,
  COLOR_GRAY_LINE,
  COLOR_WHITE,
  FONT_COLOR_SUB_TITLE,
  FONT_COLOR_TITLE,
  FONT_SIZE_SUB_TITLE,
  FONT_SIZE_TITLE
} from "../../../constant/PHColors"

export const styles = StyleSheet.create({

  container: {
    flex: 1,
    backgroundColor: '#ffffff'
  },

  scrollView: {
    flex: 1,
    backgroundColor: '#ffffff'
  },

  cellView: {
    height: 90,
    flexDirection: 'row',
    borderBottomColor: COLOR_GRAY_LINE,
    borderBottomWidth: 1
  },

  cellLeftView: {
    width: 80,
    justifyContent: 'center',
    alignItems: 'center'
  },

  cellRightView: {
    flex: 1
  },

  cellRightTopView: {
    flex: 1,
    justifyContent: 'flex-end',
    alignItems: 'flex-start'
  },

  cellRightBottomView: {
    flex: 1,
    justifyContent: 'flex-start',
    alignItems: 'flex-start'
  },

  cellRightTopText: {
    marginLeft: 5,
    marginBottom: 4,
    fontSize: FONT_SIZE_TITLE,
    color: FONT_COLOR_TITLE
  },

  cellRightBottomText: {
    marginLeft: 5,
    marginTop: 4,
    fontSize: FONT_SIZE_SUB_TITLE,
    color: FONT_COLOR_SUB_TITLE
  },

  cellLeftImage: {
    width: 50,
    height: 50,
    marginLeft: 15
  }
})